38 research outputs found

    Generating Complete and Finite Test Suite for ioco: Is It Possible?

    Get PDF
    Testing from Input/Output Transition Systems has been intensely investigated. The conformance between the implementation and the specification is often determined by the so-called ioco-relation. However, generating tests for ioco is usually hindered by the problem of conflicts between inputs and outputs. Moreover, the generation is mainly based on nondeterministic methods, which may deliver complete test suites but require an unbounded number of executions. In this paper, we investigate whether it is possible to construct a finite test suite which is complete in a predefined fault domain for the classical ioco relation even in the presence of input/output conflicts. We demonstrate that it is possible under certain assumptions about the specification and implementation, by proposing a method for complete test generation, based on a traditional method developed for FSM.Comment: In Proceedings MBT 2014, arXiv:1403.704

    Checking Completeness of Tests for Finite State Machines

    No full text
    In testing from a Finite State Machine (FSM), the generation of test suites which guarantee full fault detection, known as complete test suites, has been a long-standing research topic. In this paper, we present conditions that are sufficient for a test suite to be complete. We demonstrate that the existing conditions are special cases of the proposed ones. An algorithm that checks whether a given test suite is complete is given. The experimental results show that the algorithm can be used for relatively large FSMs and test suites.Natural Sciences and Engineering Research Council of CanadaNatural Sciences and Engineering Research Council of Canada[OGP0194381]Conselho Nacional de Desenvolvimento Científico e Tecnológico (CNPq)CNPq[200032/2008-9

    Iterative minimization of partial finite state machines

    No full text

    Fault Coverage-Driven Incremental Test Generation

    No full text
    In this paper, we consider a classical problem of complete test generation for deterministic finite-state machines (FSMs) in a more general setting. The first generalization is that the number of states in implementation FSMs can even be smaller than that of the specification FSM. Previous work deals only with the case when the implementation FSMs are allowed to have the same number of states as the specification FSM. This generalization provides more options to the test designer: when traditional methods trigger a test explosion for large specification machines, tests with a lower, but yet guaranteed, fault coverage can still be generated. The second generalization is that tests can be generated starting with a user-defined test suite, by incrementally extending it until the desired fault coverage is achieved. Solving the generalized test derivation problem, we formulate sufficient conditions for test suite completeness weaker than the existing ones and use them to elaborate an algorithm that can be used both for extending user-defined test suites to achieve the desired fault coverage and for test generation. We present the experimental results that indicate that the proposed algorithm allows obtaining a trade-off between the length and fault coverage of test suites.Natural Sciences and Engineering Research Council of CanadaNatural Sciences and Engineering Research Council of Canada[OGP0194381]Conselho Nacional de Desenvolvimento Científico e Tecnológico (CNPq)CNPq Brazilian Funding Agency Conselho Nacional de Desenvolvimento Cientifico e Tecnologico[200032/2008-9
    corecore